package edu.sctu.practice.class02.qiuyangyang.text08;

/**
 * Created by Administrator on 2015/10/11 0011.
 */
public class Run {
    public static void main(String[] args) {
        Vehicles infoVehicels = new Vehicles("汽车", "黑色");
        infoVehicels.Run();
        infoVehicels.showInfo();
        Car infoCar = new Car("保时捷", "红色", 5);
        infoCar.showCar();
        Truck infoTruck = new Truck("东风", "蓝色", 6);
        infoTruck.showTruck();
    }
}
